package io.renren.modules.slideshow.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import io.renren.modules.slideshow.dao.SlideshowDao;
import io.renren.modules.slideshow.entity.SlideshowEntity;
import io.renren.modules.slideshow.service.SlideshowService;



/**
 * @author 杨帅
 */
@Service("slideshowService")
public class SlideshowServiceImpl implements SlideshowService {
	@Autowired
	private SlideshowDao slideshowDao;
	
	@Override
	public SlideshowEntity queryObject(Integer slideshowid){
		return slideshowDao.queryObject(slideshowid);
	}
	
	@Override
	public List<SlideshowEntity> queryList(Map<String, Object> map){
		return slideshowDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return slideshowDao.queryTotal(map);
	}
	
	@Override
	public void save(SlideshowEntity slideshow){
		slideshowDao.save(slideshow);
	}
	
	@Override
	public void update(SlideshowEntity slideshow){
		slideshowDao.update(slideshow);
	}
	
	@Override
	public void delete(Integer slideshowid){
		slideshowDao.delete(slideshowid);
	}
	
	@Override
	public void deleteBatch(Integer[] slideshowids){
		slideshowDao.deleteBatch(slideshowids);
	}

	@Override
	public List<SlideshowEntity> apiqueryList() {
		return slideshowDao.apiqueryList();
	}

}
